package com.github.xiaolyuh.entity;

/**
 * 缓存Key
 *
 * @author xuwanglong
 */
public class CacheKey<K> {

    /**
     * 缓存key
     */
    private String key;

    /**
     * 业务ID
     */
    private K id;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public K getId() {
        return id;
    }

    public void setId(K id) {
        this.id = id;
    }

}
